<div id="gk-footer" class="clearfix">
	<div class="gk-copyright">
		<?php

			if (($mobile = $this->mobile_device_detect())) : 
				$handheld_view = $this->getParam('ui');
				$switch_to = $handheld_view=='desktop'?'default':'desktop';
				$text = $handheld_view=='desktop'?'Mobile Version':'Desktop Version';
		?>

			<a class="gk-tool-switchlayout" href="<?php echo JURI::base()?>?ui=<?php echo $switch_to?>" title="<?php echo JText::_($text)?>"><span><?php echo JText::_($text)?></span></a>

		<?php endif ; ?>
		<?php echo $this->_tpl->params->get("footer_content"); ?>
	</div>

	<?php if($this->_tpl->params->get('stylearea')) : ?>
	<div id="stylearea">
		<a href="#" class="style_switcher" id="style_switcher1">Light</a>
		<a href="#" class="style_switcher" id="style_switcher2">Dark</a>
	</div>
	<?php endif; ?>	
	
	<?php if( $this->countModules('footnav') ): ?>
	<div class="gk-footnav">
		<jdoc:include type="modules" name="footnav" />
	</div>
	<?php endif; ?>	
</div>